package com.kmzx.one.project.events;

import java.math.BigDecimal;

public class UserRewardEvent {

    private String userId;

    private BigDecimal orderMoney;

    private String orderId;

    private long timeStamp;

    private int profit;

    private int inOrOut;

    public int getInOrOut() {
        return inOrOut;
    }

    public UserRewardEvent setInOrOut(int inOrOut) {
        this.inOrOut = inOrOut;
        return this;
    }

    public int getProfit() {
        return profit;
    }

    public void setProfit(int profit) {
        this.profit = profit;
    }

    public UserRewardEvent(String userId, BigDecimal orderMoney, String orderId) {
        this.userId = userId;
        this.orderMoney = orderMoney;
        this.orderId = orderId;
    }

    public String getUserId() {
        return userId;
    }

    public UserRewardEvent setUserId(String userId) {
        this.userId = userId;
        return this;
    }

    public BigDecimal getOrderMoney() {
        return orderMoney;
    }

    public UserRewardEvent setOrderMoney(BigDecimal orderMoney) {
        this.orderMoney = orderMoney;
        return this;
    }

    public String getOrderId() {
        return orderId;
    }

    public UserRewardEvent setOrderId(String orderId) {
        this.orderId = orderId;
        return this;
    }

    public long getTimeStamp() {
        return timeStamp;
    }

    public UserRewardEvent setTimeStamp(long timeStamp) {
        this.timeStamp = timeStamp;
        return this;
    }
}
